package com.ali.framework.controller.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Smile
 * @Date: 2023/12/18/14:25
 * @Description:
 */
@RestController
@Slf4j
public class PayController {

    @Value("${server.port}")
    private String port;

    @GetMapping("/pay/test")
    public String payTest(){
        return "请求成功端口号"+port;
    }
}
